package cn.gcyl.module.member.controller.admin.user.vo;

import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;
import lombok.ToString;

import javax.validation.constraints.NotNull;

@Schema(description = "管理后台 - 用户修改会员等级信息 Request VO")
@Data
@ToString(callSuper = true)
public class MemberUserUpdateMemberInformationReqVO {

    @Schema(description = "用户编号", requiredMode = Schema.RequiredMode.REQUIRED, example = "23788")
    @NotNull(message = "用户编号不能为空")
    private Long id;

    @NotNull(message = "会员id")
    private Long memberId;

    /**
     * 咨询次数
     */
    private Long remainingConsultationFrequency;
    /**
     * 报名次数
     */
    private Long remainingRegistrationsFrequency;
    /**
     * 有效期
     */
    private Integer periodValidity;

}
